<!DOCTYPE html>
<html lang="en">
  <head>
    <title>带我审批 </title>
    <meta charset="UTF-8">
	<link rel="stylesheet" type="text/css" href="../../static/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/js/elementUI/index.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/js/elementUI/indexfont.css"/>
    <link rel="stylesheet" type="text/css" href="../../static/js/elementUI/docs.bbc11ec.css"/>
  </head>
  
  <body>
    <div id="approvalList">
    	<el-row type="flex" justify="center" style="margin-top:10px;">
			<el-col :span="24">
				<div class="grid-content bg-purple">
					<template> 
						<el-table :data="tableData" :border="true" style="width:100%" :fit="true"> 
							<el-table-column prop="taskId" show-overflow-tooltip label="任务id"></el-table-column>
							<el-table-column prop="days" show-overflow-tooltip label="天数"></el-table-column>
							<el-table-column prop="content" show-overflow-tooltip label="内容"></el-table-column>
							<el-table-column prop="remark" show-overflow-tooltip label="备注"></el-table-column>
							<el-table-column prop="leveDate" :formatter="dateFormat" show-overflow-tooltip label="申请时间"></el-table-column>
							<el-table-column label="操作" show-overflow-tooltip> 
								<template scope="scope"> 
									<el-button size="small" v-for="info in scope.row.option" type="info" @click="completeTask(scope.row,info)">{{info}}</el-button>
								</template> 
							</el-table-column>
						</el-table> 
				   </template>
				</div>
			</el-col> 
	   </el-row>
    </div>
  </body>
  <script src="../../static/js/lib/require.js" type="text/javascript" charset="utf-8"></script>
  <script src="../../static/js/require-config.js" type="text/javascript" charset="utf-8"></script>
  <script src="../../static/js/approval/approvalList.js" type="text/javascript" charset="utf-8"></script>
</html>
